.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f2f5;
}

.login-content {
  display: flex;
  width: 1000px;
  height: 600px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.login-left {
  flex: 1;
  background: linear-gradient(135deg, #0960bd 0%, #1890ff 100%);
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
}

.login-logo {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.login-logo h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workspace-image {
  width: 100%;
  height: 300px;
  background-image: url('/images/workspace.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 40px;
}

.login-welcome h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.login-welcome p {
  font-size: 16px;
  opacity: 0.8;
}

.login-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.login-form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.login-switch-bar {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.switch-item {
  padding: 12px 24px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
}

.switch-item.active {
  color: #0960bd;
  border-bottom: 2px solid #0960bd;
}

.login-title {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-button {
  height: 40px;
  font-size: 16px;
}

.other-login-title {
  text-align: center;
  color: #666;
  margin: 24px 0;
  position: relative;
}

.other-login-title::before,
.other-login-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #f0f0f0;
}

.other-login-title::before {
  left: 0;
}

.other-login-title::after {
  right: 0;
}

.other-login-methods {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.login-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.login-method-icon:hover {
  background-color: #e6f7ff;
  color: #0960bd;
}

.scan-login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

/* 微信登录组件样式覆盖 */
.wechat-login {
  width: 100%;
  max-width: 300px;
}

.wechat-login-btn {
  width: 100%;
  height: 40px;
  font-size: 16px;
}

.qrcode-container {
  width: 100%;
  padding: 24px;
  text-align: center;
}

.qrcode-container img {
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.qrcode-container p {
  color: #666;
  margin: 0;
} 